package com.example.receive.service;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

@Service
public class RabbitmqQueueConsume {


    @RabbitListener(queues = "queue_work")
    public void queueWork(String val){
        System.out.println(val);
    }


}
